drm/vc4: Set up SCALER_DISPCTRL at boot.
authorEric Anholt <eric@anholt.net>
Thu, 15 Sep 2016 14:25:23 +0000 (15:25 +0100)
committerpopcornmix <popcornmix@gmail.com>
Mon, 20 Feb 2017 20:31:46 +0000 (20:31 +0000)
commit28e35dc170bdab3b3f8e632d0ad06cc02ef6487e
treea5e387ec680e275adb44329afa5ee4eab325d424
parenta54d6f2dff546912b9b7d9b7a2c47c7d36af80de
drm/vc4: Set up SCALER_DISPCTRL at boot.

We want the HVS on, obviously, and we also want DSP3 (PV1's source) to
be muxed from HVS channel 2 like we expect in vc4_crtc.c.  The
firmware wasn't setting the DSP3 mux up when both the LCD and HDMI
were disabled.

Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/vc4/vc4_hvs.c
drivers/gpu/drm/vc4/vc4_regs.h